-----------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  E:\ReplicationResults.log
  log type:  text
 opened on:  12 Oct 2023, 14:54:14

. ***************************************************************************************
. *          "Racial and Partisan Social Information Prompts Campaign Giving"           *
. *               Karen H. Cyphers        Hans J.G. Hassell        Kai Ou               *
. *                                                                                     *
. *  Note: All commands are compiled in this one Do file (based on STATA Version 18)    *
. *  The file FloridaDonation.dta contains the de-identified data of our experiment     *
. *  The file PretestSurvey.dta contains the de-identified data of our pre-survey       * 
. *  The file FloridaDonation-POBE-ReplicationCode.do contains the Stata codes used     *
. *      to perform statistical analysis.                                               * 
. *  The analysis is organized by the sequence of results in the manuscript.            *
. ***************************************************************************************
. *               Variable names and their meanings are reported below:                 *
. *                                                                                     *
. *  PARTY: Individuals' party affiliations, if any.                                    *
. *  Women: 1 or 0                                                                      *
. *  White: Whether the individual's race is White                                      *
. *  EthnicMinorities: Whether the individual's race is either Black or Hispanic/Latinos*
. *  AGE: There are three age groups. 18-34; 35-54; 55+                                 *
. *  POLITICALACTIVITIESINPAST2Y: Self-reported political activities in past 2 years    *
. *  Treatment: Which treatment individuals were randomly assigned to.                  *
. *  UniqueDonorID: The unique identification of donors in our data set.                *
. *  PreTreatmentFreq: How many times that an individual contributed pretreatment.      *
. *  PreTreatmentAmount: The total amount that an individual contributed pretreatment   *
. *  PostTreatmentFreqbyW1Nov: How many times that an individual contributed between    *
. *         16 October 2020 and 5 November 2020, which is 3 weeks after interventions   *
. *  PostTreatmentAmountbyW1Nov: The total amount of money that an individual           *
. *         contributed between 16 October 2020 and 5 November 2020                     *
. *  PostTreatmentFreqbyXmas: How many times that an individual contributed             *
. *         between 16 October 2020 and 24 December 2020                                *
. *  PostTreatmentAmountbyXmas: The total amount of money that an individual            *  
. *         contributed between 16 October 2020 and 24 December 2020                    *
. ***************************************************************************************
. 
. use FloridaDonation.dta,replace

. 
. 
. 
. 
. tab Treatment

  Treatment |      Freq.     Percent        Cum.
------------+-----------------------------------
    Control |        980       36.62       36.62
   Partisan |        728       27.20       63.83
       Race |        968       36.17      100.00
------------+-----------------------------------
      Total |      2,676      100.00

. 
. gen PartisanVSControl=0 if Treatment=="Control"
(1,696 missing values generated)

. replace PartisanVSControl=1 if Treatment=="Partisan"
(728 real changes made)

. 
. gen RaceVSControl=0 if Treatment=="Control"
(1,696 missing values generated)

. replace RaceVSControl=1 if Treatment=="Race"
(968 real changes made)

. 
. gen PreviousDonor=0 if PreTreatmentFreq==0
(85 missing values generated)

. replace PreviousDonor=1 if PreTreatmentFreq>0
(85 real changes made)

. 
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. //Examine Pretreatment giving propensity across treatments//
. ttest PreviousDonor,by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     980    .0316327    .0055937    .1751094    .0206557    .0426096
       1 |     728    .0357143    .0068827    .1857045     .022202    .0492266
---------+--------------------------------------------------------------------
Combined |   1,708    .0333724    .0043472    .1796595     .024846    .0418987
---------+--------------------------------------------------------------------
    diff |           -.0040816    .0087926                -.021327    .0131637
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.4642
H0: diff = 0                                     Degrees of freedom =     1706

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3213         Pr(|T| > |t|) = 0.6426          Pr(T > t) = 0.6787

. ranksum PreviousDonor,by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |      980      835954      837410
           1 |      728      623532      622076
-------------+---------------------------------
    Combined |     1708     1459486     1459486

Unadjusted variance   1.016e+08
Adjustment for ties   -91772750
                     ----------
Adjusted variance     9832996.2

H0: Previo~r(Partis~l==0) = Previo~r(Partis~l==1)
         z = -0.464
Prob > |z| = 0.6424

. 
. ttest PreviousDonor,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     980    .0316327    .0055937    .1751094    .0206557    .0426096
       1 |     968    .0289256    .0053896    .1676842     .018349    .0395022
---------+--------------------------------------------------------------------
Combined |   1,948    .0302875    .0038839    .1714212    .0226704    .0379045
---------+--------------------------------------------------------------------
    diff |             .002707    .0077697               -.0125308    .0179449
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.3484
H0: diff = 0                                     Degrees of freedom =     1946

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6362         Pr(|T| > |t|) = 0.7276          Pr(T > t) = 0.3638

. ranksum PreviousDonor,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |      980      956294      955010
           1 |      968      942032      943316
-------------+---------------------------------
    Combined |     1948     1898326     1898326

Unadjusted variance   1.541e+08
Adjustment for ties  -1.405e+08
                     ----------
Adjusted variance      13575613

H0: Previo~r(RaceVS~l==0) = Previo~r(RaceVS~l==1)
         z =  0.348
Prob > |z| = 0.7275

. 
. //Summarize Pretreatment giving frequency//
. summarize PreTreatmentFreq if PreviousDonor==1&Treatment=="Control",detail

                      PreTreatmentFreq
-------------------------------------------------------------
      Percentiles      Smallest
 1%            1              1
 5%            1              1
10%            1              1       Obs                  31
25%            1              1       Sum of wgt.          31

50%            1                      Mean           1.774194
                        Largest       Std. dev.      1.146289
75%            3              3
90%            3              4       Variance       1.313978
95%            4              4       Skewness       1.261166
99%            5              5       Kurtosis       3.501122

. summarize PreTreatmentFreq if PreviousDonor==1&Treatment=="Partisan",detail

                      PreTreatmentFreq
-------------------------------------------------------------
      Percentiles      Smallest
 1%            1              1
 5%            1              1
10%            1              1       Obs                  26
25%            1              1       Sum of wgt.          26

50%            2                      Mean           7.846154
                        Largest       Std. dev.       14.7667
75%            4             18
90%           42             42       Variance       218.0554
95%           45             45       Skewness        2.27408
99%           53             53       Kurtosis       6.530087

. summarize PreTreatmentFreq if PreviousDonor==1&Treatment=="Race",detail

                      PreTreatmentFreq
-------------------------------------------------------------
      Percentiles      Smallest
 1%            1              1
 5%            1              1
10%            1              1       Obs                  28
25%            1              1       Sum of wgt.          28

50%          1.5                      Mean               7.25
                        Largest       Std. dev.      16.23354
75%          4.5             12
90%           20             20       Variance       263.5278
95%           42             42       Skewness       3.474423
99%           78             78       Kurtosis       14.69279

. 
. //Summarize Pretreatment giving amount//
. summarize PreTreatmentAmount if PreviousDonor==1&Treatment=="Control",detail

                     PreTreatmentAmount
-------------------------------------------------------------
      Percentiles      Smallest
 1%            2              2
 5%            3              3
10%           10             10       Obs                  31
25%           25             10       Sum of wgt.          31

50%           52                      Mean           143.2984
                        Largest       Std. dev.      285.8342
75%          110            300
90%          300            370       Variance       81701.17
95%          675            675       Skewness       3.821946
99%         1500           1500       Kurtosis       17.92959

. summarize PreTreatmentAmount if PreviousDonor==1&Treatment=="Partisan",detail

                     PreTreatmentAmount
-------------------------------------------------------------
      Percentiles      Smallest
 1%           15             15
 5%           20             20
10%           25             25       Obs                  26
25%           50             30       Sum of wgt.          26

50%           95                      Mean           415.4754
                        Largest       Std. dev.      1044.112
75%          200           1000
90%         1175           1175       Variance        1090169
95%         1250           1250       Skewness       4.035842
99%         5239           5239       Kurtosis       18.99107

. summarize PreTreatmentAmount if PreviousDonor==1&Treatment=="Race",detail

                     PreTreatmentAmount
-------------------------------------------------------------
      Percentiles      Smallest
 1%            1              1
 5%            3              3
10%            4              4       Obs                  28
25%         22.5              5       Sum of wgt.          28

50%       67.175                      Mean           196.0696
                        Largest       Std. dev.      394.5028
75%      142.505            500
90%          500            500       Variance       155632.4
95%       616.12         616.12       Skewness       3.650271
99%         2000           2000       Kurtosis       16.90364

. 
. 
. //Examine Pretreatment differences of giving frequency and amount//
. median PreTreatmentFreq if PreviousDonor==1,by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        23         16 |        39 
       yes |         8         10 |        18 
-----------+----------------------+----------
     Total |        31         26 |        57 

          Pearson chi2(1) =   1.0481   Pr = 0.306

   Continuity corrected:
          Pearson chi2(1) =   0.5442   Pr = 0.461

. median PreTreatmentFreq if PreviousDonor==1,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        19         14 |        33 
       yes |        12         14 |        26 
-----------+----------------------+----------
     Total |        31         28 |        59 

          Pearson chi2(1) =   0.7608   Pr = 0.383

   Continuity corrected:
          Pearson chi2(1) =   0.3717   Pr = 0.542

. 
. median PreTreatmentAmount if PreviousDonor==1,by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        17         12 |        29 
       yes |        14         14 |        28 
-----------+----------------------+----------
     Total |        31         26 |        57 

          Pearson chi2(1) =   0.4268   Pr = 0.514

   Continuity corrected:
          Pearson chi2(1) =   0.1500   Pr = 0.699

. median PreTreatmentAmount if PreviousDonor==1,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        17         13 |        30 
       yes |        14         15 |        29 
-----------+----------------------+----------
     Total |        31         28 |        59 

          Pearson chi2(1) =   0.4164   Pr = 0.519

   Continuity corrected:
          Pearson chi2(1) =   0.1478   Pr = 0.701

. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. *    Differential effects of partisan and racial descriptive normative information    *
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. //How many donations are observed in the first three weeks?
. tab PostTreatmentFreqbyW1Nov if PostTreatmentFreqbyW1Nov>0

PostTreatme |
ntFreqbyW1N |
         ov |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         13       76.47       76.47
          2 |          4       23.53      100.00
------------+-----------------------------------
      Total |         17      100.00

. //How many donations are observed in the 10 weeks?
. tab PostTreatmentFreqbyXmas if PostTreatmentFreqbyXmas>0

PostTreatme |
ntFreqbyXma |
          s |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         13       68.42       68.42
          2 |          1        5.26       73.68
          3 |          3       15.79       89.47
          4 |          1        5.26       94.74
          5 |          1        5.26      100.00
------------+-----------------------------------
      Total |         19      100.00

. 
. //How many donations occurred within three weeks by treatment//
. tab Treatment if PostTreatmentFreqbyW1Nov>0

  Treatment |      Freq.     Percent        Cum.
------------+-----------------------------------
    Control |          4       23.53       23.53
   Partisan |          9       52.94       76.47
       Race |          4       23.53      100.00
------------+-----------------------------------
      Total |         17      100.00

. 
. //Posttreatment donation propensity difference among all donors//
. gen PostTreatmentDonationbyW1Nov=0 if PostTreatmentFreqbyW1Nov==0
(17 missing values generated)

. replace PostTreatmentDonationbyW1Nov=1 if PostTreatmentFreqbyW1Nov>0
(17 real changes made)

. 
. gen PostTreatmentDonationbyXmas=0 if PostTreatmentFreqbyXmas==0
(19 missing values generated)

. replace PostTreatmentDonationbyXmas=1 if PostTreatmentFreqbyXmas>0
(19 real changes made)

. 
. ********************************************************************************
. *Individuals with no party affiliation were excluded from the analysis*
. ttest PostTreatmentDonationbyW1Nov if PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     717    .0041841    .0024123    .0645942    -.000552    .0089202
       1 |     728    .0123626    .0040981    .1105739     .004317    .0204082
---------+--------------------------------------------------------------------
Combined |   1,445    .0083045    .0023882    .0907813    .0036199    .0129891
---------+--------------------------------------------------------------------
    diff |           -.0081785    .0047732               -.0175418    .0011847
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.7134
H0: diff = 0                                     Degrees of freedom =     1443

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0434         Pr(|T| > |t|) = 0.0869          Pr(T > t) = 0.9566

. prtest PostTreatmentDonationbyW1Nov if PARTY!="NPA",by(PartisanVSControl)

Two-sample test of proportions                     0: Number of obs =      717
                                                   1: Number of obs =      728
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |   .0041841   .0024106                     -.0005407    .0089089
           1 |   .0123626   .0040953                      .0043359    .0203893
-------------+----------------------------------------------------------------
        diff |  -.0081785   .0047521                     -.0174926    .0011355
             |  under H0:   .0047748    -1.71   0.087
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.7129
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0434         Pr(|Z| > |z|) = 0.0867          Pr(Z > z) = 0.9566

. tab PostTreatmentDonationbyW1Nov PartisanVSControl if PARTY!="NPA",chi2

PostTreatm |
entDonatio |   PartisanVSControl
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |       714        719 |     1,433 
         1 |         3          9 |        12 
-----------+----------------------+----------
     Total |       717        728 |     1,445 

          Pearson chi2(1) =   2.9339   Pr = 0.087

. ********************************************************************************
. ttest PostTreatmentDonationbyW1Nov,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     980    .0040816    .0020377    .0637897    .0000829    .0080804
       1 |     968    .0041322    .0020629    .0641826    .0000839    .0081805
---------+--------------------------------------------------------------------
Combined |   1,948    .0041068    .0014494    .0639688    .0012643    .0069492
---------+--------------------------------------------------------------------
    diff |           -.0000506    .0028995               -.0057371    .0056359
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.0175
H0: diff = 0                                     Degrees of freedom =     1946

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4930         Pr(|T| > |t|) = 0.9861          Pr(T > t) = 0.5070

. prtest PostTreatmentDonationbyW1Nov,by(RaceVSControl)

Two-sample test of proportions                     0: Number of obs =      980
                                                   1: Number of obs =      968
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |   .0040816   .0020366                      .0000899    .0080734
           1 |   .0041322   .0020618                      .0000911    .0081734
-------------+----------------------------------------------------------------
        diff |  -.0000506   .0028981                     -.0057308    .0056296
             |  under H0:    .002898    -0.02   0.986
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.0175
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.4930         Pr(|Z| > |z|) = 0.9861          Pr(Z > z) = 0.5070

. ********************************************************************************
. *Whose Giving Contributed to the Aforementioned Observations? Previous Donors*
. tab PostTreatmentDonationbyW1Nov PreviousDonor

PostTreatm |
entDonatio |     PreviousDonor
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |     2,589         70 |     2,659 
         1 |         2         15 |        17 
-----------+----------------------+----------
     Total |     2,591         85 |     2,676 

. tab PostTreatmentDonationbyXmas PreviousDonor

PostTreatm |
entDonatio |     PreviousDonor
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |     2,589         68 |     2,657 
         1 |         2         17 |        19 
-----------+----------------------+----------
     Total |     2,591         85 |     2,676 

. ttest PostTreatmentDonationbyW1Nov,by(PreviousDonor)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |   2,591    .0007719    .0005457    .0277778   -.0002982     .001842
       1 |      85    .1764706    .0415945    .3834825    .0937553    .2591858
---------+--------------------------------------------------------------------
Combined |   2,676    .0063528    .0015362    .0794655    .0033406    .0093649
---------+--------------------------------------------------------------------
    diff |           -.1756987    .0080754               -.1915334   -.1598639
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t = -21.7572
H0: diff = 0                                     Degrees of freedom =     2674

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. prtest PostTreatmentDonationbyW1Nov,by(PreviousDonor)

Two-sample test of proportions                     0: Number of obs =     2591
                                                   1: Number of obs =       85
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |   .0007719   .0005456                     -.0002975    .0018413
           1 |   .1764706   .0413491                      .0954278    .2575134
-------------+----------------------------------------------------------------
        diff |  -.1756987   .0413527                     -.2567485   -.0946488
             |  under H0:   .0087578   -20.06   0.000
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z = -20.0619
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0000         Pr(|Z| > |z|) = 0.0000          Pr(Z > z) = 1.0000

. ********************************************************************************
. ********************************************************************************
. //Partisan vs Control//
. //Posttreatment donation propensity difference among previous donors, within three weeks//
. ttest PostTreatmentDonationbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      27     .037037     .037037    .1924501   -.0390937    .1131678
       1 |      26    .3461538    .0951486    .4851645    .1501917     .542116
---------+--------------------------------------------------------------------
Combined |      53    .1886792    .0542571    .3949977    .0798044    .2975541
---------+--------------------------------------------------------------------
    diff |           -.3091168    .1006822               -.5112448   -.1069888
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.0702
H0: diff = 0                                     Degrees of freedom =       51

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0017         Pr(|T| > |t|) = 0.0034          Pr(T > t) = 0.9983

. prtest PostTreatmentDonationbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample test of proportions                     0: Number of obs =       27
                                                   1: Number of obs =       26
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |    .037037   .0363447                     -.0341973    .1082713
           1 |   .3461538   .0933009                      .1632875    .5290202
-------------+----------------------------------------------------------------
        diff |  -.3091168   .1001299                     -.5053677   -.1128659
             |  under H0:   .1075048    -2.88   0.004
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -2.8754
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0020         Pr(|Z| > |z|) = 0.0040          Pr(Z > z) = 0.9980

. ranksum PostTreatmentDonationbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       27       620.5         729
           1 |       26       810.5         702
-------------+---------------------------------
    Combined |       53        1431        1431

Unadjusted variance     3159.00
Adjustment for ties    -1707.75
                     ----------
Adjusted variance       1451.25

H0: PostTr..(Partis~l==0) = PostTr..(Partis~l==1)
         z = -2.848
Prob > |z| = 0.0044
Exact prob = 0.0092

. tab PostTreatmentDonationbyW1Nov PartisanVSControl if PreviousDonor==1&PARTY!="NPA", chi2

PostTreatm |
entDonatio |   PartisanVSControl
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        26         17 |        43 
         1 |         1          9 |        10 
-----------+----------------------+----------
     Total |        27         26 |        53 

          Pearson chi2(1) =   8.2678   Pr = 0.004

. 
. //Posttreatment donation frequency difference among previous donors, within three weeks//
. tab PostTreatmentFreqbyW1Nov PartisanVSControl if PreviousDonor==1&PARTY!="NPA"

PostTreatm |
entFreqbyW |   PartisanVSControl
      1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        26         17 |        43 
         1 |         1          7 |         8 
         2 |         0          2 |         2 
-----------+----------------------+----------
     Total |        27         26 |        53 

. ranksum PostTreatmentFreqbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       27       619.5         729
           1 |       26       811.5         702
-------------+---------------------------------
    Combined |       53        1431        1431

Unadjusted variance     3159.00
Adjustment for ties    -1697.56
                     ----------
Adjusted variance       1461.44

H0: PostTr..(Partis~l==0) = PostTr..(Partis~l==1)
         z = -2.864
Prob > |z| = 0.0042
Exact prob = 0.0075

. median PostTreatmentFreqbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        26         17 |        43 
       yes |         1          9 |        10 
-----------+----------------------+----------
     Total |        27         26 |        53 

          Pearson chi2(1) =   8.2678   Pr = 0.004

   Continuity corrected:
          Pearson chi2(1) =   6.3718   Pr = 0.012

. 
. //Posttreatment donation amount difference among previous donors, within three weeks//
. tab PostTreatmentAmountbyW1Nov PartisanVSControl if PreviousDonor==1&PARTY!="NPA"

PostTreatm |
entAmountb |   PartisanVSControl
    yW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        26         17 |        43 
         5 |         0          1 |         1 
      8.33 |         0          1 |         1 
        10 |         0          1 |         1 
        25 |         1          2 |         3 
        30 |         0          1 |         1 
        45 |         0          1 |         1 
        50 |         0          1 |         1 
       250 |         0          1 |         1 
-----------+----------------------+----------
     Total |        27         26 |        53 

. ranksum PostTreatmentAmountbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       27         620         729
           1 |       26         811         702
-------------+---------------------------------
    Combined |       53        1431        1431

Unadjusted variance     3159.00
Adjustment for ties    -1687.25
                     ----------
Adjusted variance       1471.75

H0: PostTr..(Partis~l==0) = PostTr..(Partis~l==1)
         z = -2.841
Prob > |z| = 0.0045
Exact prob = 0.0057

. median PostTreatmentAmountbyW1Nov if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        26         17 |        43 
       yes |         1          9 |        10 
-----------+----------------------+----------
     Total |        27         26 |        53 

          Pearson chi2(1) =   8.2678   Pr = 0.004

   Continuity corrected:
          Pearson chi2(1) =   6.3718   Pr = 0.012

. ********************************************************************************
. ********************************************************************************
. //Race vs Control//
. //Posttreatment donation propensity difference among previous donors, within three weeks//
. ttest PostTreatmentDonationbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      31    .0645161     .044853     .249731    -.027086    .1561182
       1 |      28    .1428571    .0673435    .3563483    .0046797    .2810346
---------+--------------------------------------------------------------------
Combined |      59    .1016949    .0396869    .3048411    .0222529    .1811369
---------+--------------------------------------------------------------------
    diff |            -.078341    .0794965               -.2375299    .0808479
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.9855
H0: diff = 0                                     Degrees of freedom =       57

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1643         Pr(|T| > |t|) = 0.3286          Pr(T > t) = 0.8357

. prtest PostTreatmentDonationbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Two-sample test of proportions                     0: Number of obs =       31
                                                   1: Number of obs =       28
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |   .0645161   .0441237                     -.0219646    .1509969
           1 |   .1428571     .06613                      .0132447    .2724696
-------------+----------------------------------------------------------------
        diff |   -.078341   .0794989                      -.234156     .077474
             |  under H0:   .0788003    -0.99   0.320
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -0.9942
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.1601         Pr(|Z| > |z|) = 0.3201          Pr(Z > z) = 0.8399

. ranksum PostTreatmentDonationbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       31         896         930
           1 |       28         874         840
-------------+---------------------------------
    Combined |       59        1770        1770

Unadjusted variance     4340.00
Adjustment for ties    -3150.24
                     ----------
Adjusted variance       1189.76

H0: PostTr..(RaceVS~l==0) = PostTr..(RaceVS~l==1)
         z = -0.986
Prob > |z| = 0.3243
Exact prob = 0.5746

. tab PostTreatmentDonationbyW1Nov RaceVSControl if PreviousDonor==1, chi2

PostTreatm |
entDonatio |     RaceVSControl
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        29         24 |        53 
         1 |         2          4 |         6 
-----------+----------------------+----------
     Total |        31         28 |        59 

          Pearson chi2(1) =   0.9884   Pr = 0.320

. 
. //Posttreatment donation frequency difference among previous donors, within three weeks//
. tab PostTreatmentFreqbyW1Nov RaceVSControl if PreviousDonor==1

PostTreatm |
entFreqbyW |     RaceVSControl
      1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        29         24 |        53 
         1 |         2          2 |         4 
         2 |         0          2 |         2 
-----------+----------------------+----------
     Total |        31         28 |        59 

. ranksum PostTreatmentFreqbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       31         894         930
           1 |       28         876         840
-------------+---------------------------------
    Combined |       59        1770        1770

Unadjusted variance     4340.00
Adjustment for ties    -3147.20
                     ----------
Adjusted variance       1192.80

H0: PostTr..(RaceVS~l==0) = PostTr..(RaceVS~l==1)
         z = -1.042
Prob > |z| = 0.2972
Exact prob = 0.3210

. median PostTreatmentFreqbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        29         24 |        53 
       yes |         2          4 |         6 
-----------+----------------------+----------
     Total |        31         28 |        59 

          Pearson chi2(1) =   0.9884   Pr = 0.320

   Continuity corrected:
          Pearson chi2(1) =   0.3168   Pr = 0.574

. 
. //Posttreatment donation amount difference among previous donors, within three weeks//
. tab PostTreatmentAmountbyW1Nov RaceVSControl if PreviousDonor==1

PostTreatm |
entAmountb |     RaceVSControl
    yW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        29         24 |        53 
         8 |         0          1 |         1 
        10 |         0          1 |         1 
        11 |         0          1 |         1 
        20 |         0          1 |         1 
        25 |         1          0 |         1 
       100 |         1          0 |         1 
-----------+----------------------+----------
     Total |        31         28 |        59 

. ranksum PostTreatmentAmountbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       31         900         930
           1 |       28         870         840
-------------+---------------------------------
    Combined |       59        1770        1770

Unadjusted variance     4340.00
Adjustment for ties    -3145.80
                     ----------
Adjusted variance       1194.20

H0: PostTr..(RaceVS~l==0) = PostTr..(RaceVS~l==1)
         z = -0.868
Prob > |z| = 0.3853
Exact prob = 0.5746

. median PostTreatmentAmountbyW1Nov if PreviousDonor==1,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        29         24 |        53 
       yes |         2          4 |         6 
-----------+----------------------+----------
     Total |        31         28 |        59 

          Pearson chi2(1) =   0.9884   Pr = 0.320

   Continuity corrected:
          Pearson chi2(1) =   0.3168   Pr = 0.574

. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. *              Differential treatment effects on minorities and whites                *
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. //EthnicMinorities, three weeks//
. ttest PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      13           0           0           0           0           0
       1 |       8         .25    .1636634      .46291   -.1370025    .6370025
---------+--------------------------------------------------------------------
Combined |      21    .0952381    .0656383    .3007926   -.0416811    .2321572
---------+--------------------------------------------------------------------
    diff |                -.25    .1262588               -.5142628    .0142628
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.9801
H0: diff = 0                                     Degrees of freedom =       19

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0312         Pr(|T| > |t|) = 0.0624          Pr(T > t) = 0.9688

. permtest2 PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)
Fisher-Pitman permutation test for two independent samples


RaceVSCont~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       13           0           0
           1 |        8         .25   .46291005
-------------+---------------------------------
    combined |       21    .0952381    .3007926


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(RaceVSControl==0) >= PostTreatmentDonationbyW1Nov(RaceVSControl==1) :  p=.133605 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(RaceVSControl==0) <= PostTreatmentDonationbyW1Nov(RaceVSControl==1) :  p=1 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(RaceVSControl==0) == PostTreatmentDonationbyW1Nov(RaceVSControl==1) :  p=.26721 (two-tailed)

. 
. ttest PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      10           0           0           0           0           0
       1 |       9    .3333333    .1666667          .5   -.0510007    .7176674
---------+--------------------------------------------------------------------
Combined |      19    .1578947     .085947    .3746343   -.0226732    .3384627
---------+--------------------------------------------------------------------
    diff |           -.3333333    .1575963               -.6658325   -.0008342
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.1151
H0: diff = 0                                     Degrees of freedom =       17

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0247         Pr(|T| > |t|) = 0.0495          Pr(T > t) = 0.9753

. permtest2 PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)
Fisher-Pitman permutation test for two independent samples


PartisanVS~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       10           0           0
           1 |        9   .33333333          .5
-------------+---------------------------------
    combined |       19   .15789474   .37463432


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(PartisanVSControl==0) >= PostTreatmentDonationbyW1Nov(PartisanVSControl==1) :  p=.08569 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(PartisanVSControl==0) <= PostTreatmentDonationbyW1Nov(PartisanVSControl==1) :  p=1 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(PartisanVSControl==0) == PostTreatmentDonationbyW1Nov(PartisanVSControl==1) :  p=.17138 (two-tailed)

. //EthnicMinorities, ten weeks//
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      13           0           0           0           0           0
       1 |       8        .375    .1829813    .5175492   -.0576819    .8076819
---------+--------------------------------------------------------------------
Combined |      21    .1428571    .0782461    .3585686   -.0203613    .3060756
---------+--------------------------------------------------------------------
    diff |               -.375    .1411617               -.6704548   -.0795452
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.6565
H0: diff = 0                                     Degrees of freedom =       19

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0078         Pr(|T| > |t|) = 0.0156          Pr(T > t) = 0.9922

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)
Fisher-Pitman permutation test for two independent samples


RaceVSCont~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       13           0           0
           1 |        8        .375   .51754917
-------------+---------------------------------
    combined |       21   .14285714   .35856858


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) >= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.042475 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) <= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=1 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) == PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.08495 (two-tailed)

. 
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      10           0           0           0           0           0
       1 |       9    .3333333    .1666667          .5   -.0510007    .7176674
---------+--------------------------------------------------------------------
Combined |      19    .1578947     .085947    .3746343   -.0226732    .3384627
---------+--------------------------------------------------------------------
    diff |           -.3333333    .1575963               -.6658325   -.0008342
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.1151
H0: diff = 0                                     Degrees of freedom =       17

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0247         Pr(|T| > |t|) = 0.0495          Pr(T > t) = 0.9753

. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. //White donors, three weeks//
. ttest PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      18    .1111111    .0762216    .3233808   -.0497024    .2719246
       1 |      20          .1    .0688247    .3077935   -.0440518    .2440518
---------+--------------------------------------------------------------------
Combined |      38    .1052632    .0504528    .3110117    .0030361    .2074902
---------+--------------------------------------------------------------------
    diff |            .0111111    .1024226               -.1966116    .2188339
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.1085
H0: diff = 0                                     Degrees of freedom =       36

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5429         Pr(|T| > |t|) = 0.9142          Pr(T > t) = 0.4571

. 
. ttest PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      17    .0588235    .0588235    .2425356   -.0658768    .1835238
       1 |      17    .3529412    .1194712    .4925922    .0996736    .6062087
---------+--------------------------------------------------------------------
Combined |      34    .2058824    .0703874    .4104256    .0626781    .3490866
---------+--------------------------------------------------------------------
    diff |           -.2941176    .1331674               -.5653708   -.0228645
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.2086
H0: diff = 0                                     Degrees of freedom =       32

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0172         Pr(|T| > |t|) = 0.0345          Pr(T > t) = 0.9828

. permtest2 PostTreatmentDonationbyW1Nov if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)
Fisher-Pitman permutation test for two independent samples


PartisanVS~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       17   .05882353   .24253563
           1 |       17   .35294118   .49259218
-------------+---------------------------------
    combined |       34   .20588235   .41042563


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(PartisanVSControl==0) >= PostTreatmentDonationbyW1Nov(PartisanVSControl==1) :  p=.0426 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(PartisanVSControl==0) <= PostTreatmentDonationbyW1Nov(PartisanVSControl==1) :  p=.996355 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyW1Nov(PartisanVSControl==0) == PostTreatmentDonationbyW1Nov(PartisanVSControl==1) :  p=.0852 (two-tailed)

. 
. //White donors, ten weeks//
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      18    .1111111    .0762216    .3233808   -.0497024    .2719246
       1 |      20          .1    .0688247    .3077935   -.0440518    .2440518
---------+--------------------------------------------------------------------
Combined |      38    .1052632    .0504528    .3110117    .0030361    .2074902
---------+--------------------------------------------------------------------
    diff |            .0111111    .1024226               -.1966116    .2188339
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.1085
H0: diff = 0                                     Degrees of freedom =       36

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5429         Pr(|T| > |t|) = 0.9142          Pr(T > t) = 0.4571

. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      17    .0588235    .0588235    .2425356   -.0658768    .1835238
       1 |      17    .4117647    .1230382    .5072997    .1509353    .6725941
---------+--------------------------------------------------------------------
Combined |      34    .2352941    .0738407    .4305615    .0850641    .3855241
---------+--------------------------------------------------------------------
    diff |           -.3529412    .1363767               -.6307315   -.0751508
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.5880
H0: diff = 0                                     Degrees of freedom =       32

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0072         Pr(|T| > |t|) = 0.0144          Pr(T > t) = 0.9928

. 
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. *                        Donation history and treatment effects                       *
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ***************************************************************************************
. ttest PostTreatmentDonationbyW1Nov, by(PreviousDonor)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |   2,591    .0007719    .0005457    .0277778   -.0002982     .001842
       1 |      85    .1764706    .0415945    .3834825    .0937553    .2591858
---------+--------------------------------------------------------------------
Combined |   2,676    .0063528    .0015362    .0794655    .0033406    .0093649
---------+--------------------------------------------------------------------
    diff |           -.1756987    .0080754               -.1915334   -.1598639
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t = -21.7572
H0: diff = 0                                     Degrees of freedom =     2674

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. tab PostTreatmentDonationbyW1Nov PreviousDonor,chi2

PostTreatm |
entDonatio |     PreviousDonor
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |     2,589         70 |     2,659 
         1 |         2         15 |        17 
-----------+----------------------+----------
     Total |     2,591         85 |     2,676 

          Pearson chi2(1) = 402.4781   Pr = 0.000

. 
. ttest PostTreatmentDonationbyXmas, by(PreviousDonor)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |   2,591    .0007719    .0005457    .0277778   -.0002982     .001842
       1 |      85          .2    .0436436    .4023739      .11321      .28679
---------+--------------------------------------------------------------------
Combined |   2,676    .0071001    .0016234    .0839784    .0039169    .0102834
---------+--------------------------------------------------------------------
    diff |           -.1992281     .008419               -.2157365   -.1827197
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t = -23.6641
H0: diff = 0                                     Degrees of freedom =     2674

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. tab PostTreatmentDonationbyXmas PreviousDonor,chi2

PostTreatm |
entDonatio |     PreviousDonor
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |     2,589         68 |     2,657 
         1 |         2         17 |        19 
-----------+----------------------+----------
     Total |     2,591         85 |     2,676 

          Pearson chi2(1) = 463.3706   Pr = 0.000

. 
. 
. ttest PostTreatmentDonationbyW1Nov=0 if PreviousDonor==1

One-sample t test
------------------------------------------------------------------------------
Variable |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
PostTr.. |      85    .1764706    .0415945    .3834825    .0937553    .2591858
------------------------------------------------------------------------------
    mean = mean(PostTreatmentDonationbyW1Nov)                     t =   4.2426
H0: mean = 0                                     Degrees of freedom =       84

    Ha: mean < 0                 Ha: mean != 0                 Ha: mean > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0001          Pr(T > t) = 0.0000

. ttest PostTreatmentDonationbyW1Nov=0 if PreviousDonor==0

One-sample t test
------------------------------------------------------------------------------
Variable |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
PostTr.. |   2,591    .0007719    .0005457    .0277778   -.0002982     .001842
------------------------------------------------------------------------------
    mean = mean(PostTreatmentDonationbyW1Nov)                     t =   1.4145
H0: mean = 0                                     Degrees of freedom =     2590

    Ha: mean < 0                 Ha: mean != 0                 Ha: mean > 0
 Pr(T < t) = 0.9213         Pr(|T| > |t|) = 0.1573          Pr(T > t) = 0.0787

. 
. 
. ttest PostTreatmentDonationbyW1Nov if Treatment=="Control",by(PreviousDonor)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     949    .0021075    .0014894    .0458831   -.0008155    .0050304
       1 |      31    .0645161     .044853     .249731    -.027086    .1561182
---------+--------------------------------------------------------------------
Combined |     980    .0040816    .0020377    .0637897    .0000829    .0080804
---------+--------------------------------------------------------------------
    diff |           -.0624086    .0114763               -.0849297   -.0398876
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -5.4380
H0: diff = 0                                     Degrees of freedom =      978

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. tab PostTreatmentDonationbyW1Nov PreviousDonor if Treatment=="Control",chi2

PostTreatm |
entDonatio |     PreviousDonor
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |       947         29 |       976 
         1 |         2          2 |         4 
-----------+----------------------+----------
     Total |       949         31 |       980 

          Pearson chi2(1) =  28.7630   Pr = 0.000

. 
. ttest PostTreatmentDonationbyW1Nov if Treatment=="Race",by(PreviousDonor)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     940           0           0           0           0           0
       1 |      28    .1428571    .0673435    .3563483    .0046797    .2810346
---------+--------------------------------------------------------------------
Combined |     968    .0041322    .0020629    .0641826    .0000839    .0081805
---------+--------------------------------------------------------------------
    diff |           -.1428571    .0114252               -.1652782   -.1204361
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t = -12.5037
H0: diff = 0                                     Degrees of freedom =      966

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. tab PostTreatmentDonationbyW1Nov PreviousDonor if Treatment=="Race",chi2

PostTreatm |
entDonatio |     PreviousDonor
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |       940         24 |       964 
         1 |         0          4 |         4 
-----------+----------------------+----------
     Total |       940         28 |       968 

          Pearson chi2(1) = 134.8429   Pr = 0.000

. 
. ttest PostTreatmentDonationbyW1Nov if Treatment=="Partisan",by(PreviousDonor)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     702           0           0           0           0           0
       1 |      26    .3461538    .0951486    .4851645    .1501917     .542116
---------+--------------------------------------------------------------------
Combined |     728    .0123626    .0040981    .1105739     .004317    .0204082
---------+--------------------------------------------------------------------
    diff |           -.3461538    .0179805               -.3814538   -.3108539
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t = -19.2517
H0: diff = 0                                     Degrees of freedom =      726

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. tab PostTreatmentDonationbyW1Nov PreviousDonor if Treatment=="Partisan",chi2

PostTreatm |
entDonatio |     PreviousDonor
  nbyW1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |       702         17 |       719 
         1 |         0          9 |         9 
-----------+----------------------+----------
     Total |       702         26 |       728 

          Pearson chi2(1) = 246.0417   Pr = 0.000

. 
. 
. 
. 
. ////////////////////////////////////////////////////////////////////////////////
> ////////////////////////////////////////////////////////////////////////////////
> /////////////////////////////////   Appendix   /////////////////////////////////
> ////////////////////////////////////////////////////////////////////////////////
> ////////////////////////////////////////////////////////////////////////////////
> 
. ////////////////////////////////////////////////////////////////////////////////
> ///Table A1: Summary Statistics of Registered Voters' Demographic Background////
> ////////////////////////////////////////////////////////////////////////////////
> 
. 
. gen AgeGroupYong=0

. replace AgeGroupYong=1 if AGE=="18-34"
(605 real changes made)

. gen AgeGroupMiddle=0

. replace AgeGroupMiddle=1 if AGE=="35-54"
(819 real changes made)

. gen AgeGroupOld=0

. replace AgeGroupOld=1 if AGE=="55+"
(1,252 real changes made)

. 
. gen PropDem=0 if PARTY!="NPA"
(527 missing values generated)

. replace PropDem=1 if PARTY=="DEM"
(1,151 real changes made)

. 
. 
. tabstat Women PropDem AgeGroupYong AgeGroupMiddle AgeGroupOld EthnicMinorities PreviousDonor,by(Treatment) stat(mean semean) nototal format(%9.3f) 

Summary statistics: Mean, se(mean)
Group variable: Treatment (Treatment)

Treatment |     Women   PropDem  AgeGro~g  AgeGro~e  AgeGro~d  Ethnic~s  Previo~r
----------+----------------------------------------------------------------------
  Control |     0.520     0.534     0.234     0.302     0.464     0.394     0.032
          |     0.016     0.019     0.014     0.015     0.016     0.016     0.006
----------+----------------------------------------------------------------------
 Partisan |     0.497     0.537     0.223     0.306     0.471     0.383     0.036
          |     0.019     0.018     0.015     0.017     0.019     0.018     0.007
----------+----------------------------------------------------------------------
     Race |     0.502     0.536     0.221     0.310     0.469     0.385     0.029
          |     0.016     0.019     0.013     0.015     0.016     0.016     0.005
---------------------------------------------------------------------------------

. tabstat Women PropDem AgeGroupYong AgeGroupMiddle AgeGroupOld PreviousDonor if EthnicMinorities==0,by(Treatment) stat(mean semean) nototal format(%9.3f)

Summary statistics: Mean, se(mean)
Group variable: Treatment (Treatment)

Treatment |     Women   PropDem  AgeGro~g  AgeGro~e  AgeGro~d  Previo~r
----------+------------------------------------------------------------
  Control |     0.508     0.449     0.150     0.259     0.591     0.030
          |     0.021     0.023     0.015     0.018     0.020     0.007
----------+------------------------------------------------------------
 Partisan |     0.490     0.443     0.149     0.281     0.570     0.038
          |     0.024     0.023     0.017     0.021     0.023     0.009
----------+------------------------------------------------------------
     Race |     0.474     0.447     0.173     0.254     0.573     0.034
          |     0.020     0.023     0.016     0.018     0.020     0.007
-----------------------------------------------------------------------

. tabstat Women PropDem AgeGroupYong AgeGroupMiddle AgeGroupOld PreviousDonor if EthnicMinorities==1,by(Treatment) stat(mean semean) nototal format(%9.3f)

Summary statistics: Mean, se(mean)
Group variable: Treatment (Treatment)

Treatment |     Women   PropDem  AgeGro~g  AgeGro~e  AgeGro~d  Previo~r
----------+------------------------------------------------------------
  Control |     0.539     0.679     0.363     0.368     0.269     0.034
          |     0.025     0.029     0.025     0.025     0.023     0.009
----------+------------------------------------------------------------
 Partisan |     0.509     0.688     0.341     0.348     0.312     0.032
          |     0.030     0.028     0.028     0.029     0.028     0.011
----------+------------------------------------------------------------
     Race |     0.547     0.698     0.298     0.399     0.303     0.021
          |     0.026     0.029     0.024     0.025     0.024     0.008
-----------------------------------------------------------------------

. 
. 
. split POLITICALACTIVITIESINPAST2Y , parse(;) generate(PoliticalActivities)
variables created as string: 
PoliticalA~1  PoliticalA~2  PoliticalA~3  PoliticalA~4  PoliticalA~5  PoliticalA~6  PoliticalA~7

. gen PoliticalActivities2Y=0

. replace PoliticalActivities2Y=PoliticalActivities2Y+1 if PoliticalActivities1!=""
(2,188 real changes made)

. replace PoliticalActivities2Y=PoliticalActivities2Y+1 if PoliticalActivities1!="I have done none of these"&PoliticalActivities2!=""
(1,291 real changes made)

. replace PoliticalActivities2Y=PoliticalActivities2Y+1 if PoliticalActivities1!="I have done none of these"&PoliticalActivities2!=""&PoliticalActivities3!=""
(723 real changes made)

. replace PoliticalActivities2Y=PoliticalActivities2Y+1 if PoliticalActivities1!="I have done none of these"&PoliticalActivities2!=""&PoliticalActivities3!=""&Po
> liticalActivities4!=""
(339 real changes made)

. replace PoliticalActivities2Y=PoliticalActivities2Y+1 if PoliticalActivities1!="I have done none of these"&PoliticalActivities2!=""&PoliticalActivities3!=""&Po
> liticalActivities4!=""&PoliticalActivities5!=""
(139 real changes made)

. replace PoliticalActivities2Y=PoliticalActivities2Y+1 if PoliticalActivities1!="I have done none of these"&PoliticalActivities2!=""&PoliticalActivities3!=""&Po
> liticalActivities4!=""&PoliticalActivities5!=""&PoliticalActivities6!=""
(52 real changes made)

. 
. ttest PoliticalActivities2Y if PARTY!="NPA"&PoliticalActivities2Y!=0,by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     588    2.244898     .055227    1.339185    2.136431    2.353365
       1 |     588    2.278912     .055424    1.343962    2.170058    2.387765
---------+--------------------------------------------------------------------
Combined |   1,176    2.261905    .0391076    1.341112    2.185176    2.338633
---------+--------------------------------------------------------------------
    diff |           -.0340136    .0782423               -.1875239    .1194967
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.4347
H0: diff = 0                                     Degrees of freedom =     1174

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3319         Pr(|T| > |t|) = 0.6638          Pr(T > t) = 0.6681

. ttest PoliticalActivities2Y if PoliticalActivities2Y!=0,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     800     2.10125    .0450767    1.274963    2.012767    2.189733
       1 |     800     2.13875     .044532    1.259556    2.051336    2.226164
---------+--------------------------------------------------------------------
Combined |   1,600        2.12    .0316756    1.267025     2.05787     2.18213
---------+--------------------------------------------------------------------
    diff |              -.0375    .0633641               -.1617856    .0867856
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.5918
H0: diff = 0                                     Degrees of freedom =     1598

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2770         Pr(|T| > |t|) = 0.5541          Pr(T > t) = 0.7230

. 
. ttest PoliticalActivities2Y if PARTY!="NPA"&PoliticalActivities2Y!=0& White==1,by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     368     2.32337    .0688667    1.321092    2.187947    2.458792
       1 |     354    2.409605    .0729827    1.373162    2.266069     2.55314
---------+--------------------------------------------------------------------
Combined |     722    2.365651    .0501163    1.346629     2.26726    2.464042
---------+--------------------------------------------------------------------
    diff |            -.086235    .1002696               -.2830907    .1106208
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.8600
H0: diff = 0                                     Degrees of freedom =      720

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1950         Pr(|T| > |t|) = 0.3901          Pr(T > t) = 0.8050

. ttest PoliticalActivities2Y if PoliticalActivities2Y!=0& White==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     481    2.189189    .0579665    1.271305     2.07529    2.303089
       1 |     487    2.250513    .0593409    1.309539    2.133917     2.36711
---------+--------------------------------------------------------------------
Combined |     968    2.220041    .0414744    1.290379    2.138651    2.301431
---------+--------------------------------------------------------------------
    diff |           -.0613242    .0829698                -.224146    .1014976
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.7391
H0: diff = 0                                     Degrees of freedom =      966

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2300         Pr(|T| > |t|) = 0.4600          Pr(T > t) = 0.7700

. 
. ttest PoliticalActivities2Y if PARTY!="NPA"&PoliticalActivities2Y!=0& White==1,by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     368     2.32337    .0688667    1.321092    2.187947    2.458792
       1 |     354    2.409605    .0729827    1.373162    2.266069     2.55314
---------+--------------------------------------------------------------------
Combined |     722    2.365651    .0501163    1.346629     2.26726    2.464042
---------+--------------------------------------------------------------------
    diff |            -.086235    .1002696               -.2830907    .1106208
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.8600
H0: diff = 0                                     Degrees of freedom =      720

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1950         Pr(|T| > |t|) = 0.3901          Pr(T > t) = 0.8050

. ttest PoliticalActivities2Y if PoliticalActivities2Y!=0& White==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     481    2.189189    .0579665    1.271305     2.07529    2.303089
       1 |     487    2.250513    .0593409    1.309539    2.133917     2.36711
---------+--------------------------------------------------------------------
Combined |     968    2.220041    .0414744    1.290379    2.138651    2.301431
---------+--------------------------------------------------------------------
    diff |           -.0613242    .0829698                -.224146    .1014976
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.7391
H0: diff = 0                                     Degrees of freedom =      966

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2300         Pr(|T| > |t|) = 0.4600          Pr(T > t) = 0.7700

. 
. ttest PoliticalActivities2Y if PARTY!="NPA"&PoliticalActivities2Y!=0& White==0,by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     220    2.113636    .0918152     1.36184    1.932682    2.294591
       1 |     234    2.081197    .0834249    1.276155    1.916833     2.24556
---------+--------------------------------------------------------------------
Combined |     454    2.096916    .0618104     1.31701    1.975446    2.218387
---------+--------------------------------------------------------------------
    diff |            .0324398    .1238069               -.2108687    .2757483
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2620
H0: diff = 0                                     Degrees of freedom =      452

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6033         Pr(|T| > |t|) = 0.7934          Pr(T > t) = 0.3967

. ttest PoliticalActivities2Y if PoliticalActivities2Y!=0& White==0,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     319    1.968652    .0711607    1.270971    1.828647    2.108657
       1 |     313    1.964856    .0654722    1.158322    1.836033    2.093679
---------+--------------------------------------------------------------------
Combined |     632    1.966772     .048351    1.215524    1.871824     2.06172
---------+--------------------------------------------------------------------
    diff |            .0037958    .0967829               -.1862603    .1938519
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.0392
H0: diff = 0                                     Degrees of freedom =      630

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5156         Pr(|T| > |t|) = 0.9687          Pr(T > t) = 0.4844

. 
. ttest PoliticalActivities2Y if PARTY!="NPA"&PoliticalActivities2Y!=0& White==0,by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     220    2.113636    .0918152     1.36184    1.932682    2.294591
       1 |     234    2.081197    .0834249    1.276155    1.916833     2.24556
---------+--------------------------------------------------------------------
Combined |     454    2.096916    .0618104     1.31701    1.975446    2.218387
---------+--------------------------------------------------------------------
    diff |            .0324398    .1238069               -.2108687    .2757483
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2620
H0: diff = 0                                     Degrees of freedom =      452

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6033         Pr(|T| > |t|) = 0.7934          Pr(T > t) = 0.3967

. ttest PoliticalActivities2Y if PoliticalActivities2Y!=0& White==0,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     319    1.968652    .0711607    1.270971    1.828647    2.108657
       1 |     313    1.964856    .0654722    1.158322    1.836033    2.093679
---------+--------------------------------------------------------------------
Combined |     632    1.966772     .048351    1.215524    1.871824     2.06172
---------+--------------------------------------------------------------------
    diff |            .0037958    .0967829               -.1862603    .1938519
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.0392
H0: diff = 0                                     Degrees of freedom =      630

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5156         Pr(|T| > |t|) = 0.9687          Pr(T > t) = 0.4844

. 
. tabstat PreTreatmentFreq PreTreatmentAmount if PreviousDonor==1,by(Treatment) stat(median) nototal format(%9.3f) 

Summary statistics: p50
Group variable: Treatment (Treatment)

Treatment |  PreTre~q  PreTre~t
----------+--------------------
  Control |     1.000    52.000
 Partisan |     2.000    95.000
     Race |     1.500    67.175
-------------------------------

. tabstat PreTreatmentFreq PreTreatmentAmount if PreviousDonor==1&EthnicMinorities==0,by(Treatment) stat(median) nototal format(%9.3f) 

Summary statistics: p50
Group variable: Treatment (Treatment)

Treatment |  PreTre~q  PreTre~t
----------+--------------------
  Control |     1.500    85.000
 Partisan |     2.000    90.000
     Race |     1.500    67.175
-------------------------------

. tabstat PreTreatmentFreq PreTreatmentAmount if PreviousDonor==1&EthnicMinorities==1,by(Treatment) stat(median) nototal format(%9.3f) 

Summary statistics: p50
Group variable: Treatment (Treatment)

Treatment |  PreTre~q  PreTre~t
----------+--------------------
  Control |     1.000    30.000
 Partisan |     2.000   100.000
     Race |     2.000    73.500
-------------------------------

. 
. ////////////////////////////////////////////////////////////////////////////////
> ///Table A2: The Demographic Characteristics of Treatments and Florida Voters///
> ////////////////////////////////////////////////////////////////////////////////
> gen NPA=0

. replace NPA=1 if PARTY=="NPA"
(527 real changes made)

. 
. gen DEMParty=0

. replace DEMParty=1 if PARTY=="DEM"
(1,151 real changes made)

. gen REPParty=0

. replace REPParty=1 if PARTY=="REP"
(998 real changes made)

. tabstat Women White EthnicMinorities NPA DEMParty REPParty AgeGroupYong AgeGroupMiddle AgeGroupOld,by(Treatment) stat(mean) nototal format(%9.4f) 

Summary statistics: Mean
Group variable: Treatment (Treatment)

Treatment |     Women     White  Ethnic~s       NPA  DEMParty  REPParty  AgeGro~g  AgeGro~e  AgeGro~d
----------+------------------------------------------------------------------------------------------
  Control |    0.5204    0.6061    0.3939    0.2684    0.3908    0.3408    0.2337    0.3020    0.4643
 Partisan |    0.4973    0.6168    0.3832    0.0000    0.5371    0.4629    0.2225    0.3063    0.4712
     Race |    0.5021    0.6147    0.3853    0.2727    0.3895    0.3378    0.2211    0.3099    0.4690
-----------------------------------------------------------------------------------------------------

. 
. 
. ////////////////////////////////////////////////////////////////////////////////
> /////////////                   Appendix A3 Results                /////////////
> ////////////////////////////////////////////////////////////////////////////////
> 
. preserve

. clear

. use PretestSurvey,replace

. kdensity DonationFrequency, name(FigureA1,replace) xlabel(,nogrid) ylabel(,nogrid) graphregion(color(white))/* 
> */plotregion(color(white)) title("Kernel Density Distribution",color(black))/* 
> */xtitle("Frequency of Donation in the Recent Election Cycle",color(black))

. 
. 
. kdensity DonationAmount, name(FigureA2,replace) xlabel(,nogrid) ylabel(,nogrid) graphregion(color(white))/* 
> */plotregion(color(white)) title("Kernel Density Distribution",color(black))/* 
> */xtitle("Amount of Donation in the Recent Election Cycle",color(black))

. 
. tab DonationAmount

  About how |
 much money |
   have you |
 donated to |
  political |
 candidates |
         or |
 committees |
       duri |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        974       64.85       64.85
          1 |         11        0.73       65.58
          3 |          1        0.07       65.65
          5 |         12        0.80       66.44
         10 |         15        1.00       67.44
         15 |          5        0.33       67.78
         20 |         17        1.13       68.91
         25 |         25        1.66       70.57
         30 |          3        0.20       70.77
         32 |          1        0.07       70.84
         35 |          2        0.13       70.97
         40 |          1        0.07       71.04
         41 |          1        0.07       71.11
         45 |          2        0.13       71.24
         50 |         58        3.86       75.10
         55 |          1        0.07       75.17
         60 |          1        0.07       75.23
         70 |          1        0.07       75.30
         75 |          3        0.20       75.50
         80 |          1        0.07       75.57
         90 |          1        0.07       75.63
        100 |        103        6.86       82.49
        120 |          2        0.13       82.62
        125 |          3        0.20       82.82
        150 |         10        0.67       83.49
        152 |          1        0.07       83.56
        160 |          1        0.07       83.62
        200 |         50        3.33       86.95
        240 |          1        0.07       87.02
        250 |         14        0.93       87.95
        300 |         25        1.66       89.61
        350 |          2        0.13       89.75
        365 |          1        0.07       89.81
        400 |          5        0.33       90.15
        450 |          3        0.20       90.35
        500 |         56        3.73       94.07
        600 |          3        0.20       94.27
        650 |          1        0.07       94.34
        700 |          1        0.07       94.41
        750 |          1        0.07       94.47
        800 |          3        0.20       94.67
        900 |          1        0.07       94.74
       1000 |         32        2.13       96.87
       1200 |          1        0.07       96.94
       1500 |          8        0.53       97.47
       1600 |          1        0.07       97.54
       1646 |          1        0.07       97.60
       2000 |         16        1.07       98.67
       2500 |          5        0.33       99.00
       3000 |          6        0.40       99.40
       3300 |          1        0.07       99.47
       4000 |          1        0.07       99.53
       4200 |          1        0.07       99.60
       5000 |          3        0.20       99.80
       6000 |          1        0.07       99.87
      10000 |          2        0.13      100.00
------------+-----------------------------------
      Total |      1,502      100.00

. 
. ////////////////////////////////////////////////////////////////////////////////
> ///       Table A3: Average Donation Behavior by Racial Group and Party      ///
> ////////////////////////////////////////////////////////////////////////////////
> summarize DonationFrequency if RaceEthnicity =="Black"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationFr~y |        148    1.236486    2.198829          0         10

. summarize DonationFrequency if RaceEthnicity =="Hispanic"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationFr~y |        260    1.030769     1.98231          0          9

. summarize DonationFrequency if RaceEthnicity =="White, Not Hispanic"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationFr~y |      1,094    1.701097    2.350227          0         11

. summarize DonationFrequency if Party=="DEM"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationFr~y |        640    1.839063    2.476311          0         11

. summarize DonationFrequency if Party=="REP"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationFr~y |        596    1.535235     2.24928          0         10

. 
. 
. summarize DonationAmount if RaceEthnicity =="Black"&DonationAmount<=200

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        132    15.75758    46.42767          0        200

. summarize DonationAmount if RaceEthnicity =="Hispanic"&DonationAmount<=200

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        240     16.9375     44.7996          0        200

. summarize DonationAmount if RaceEthnicity =="White, Not Hispanic"&DonationAmount<=200

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        934    23.22163    48.98569          0        200

. summarize DonationAmount if Party=="DEM"&DonationAmount<=200

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        557    26.33573    53.06258          0        200

. summarize DonationAmount if Party=="REP"&DonationAmount<=200

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        502    18.78486     44.7353          0        200

. 
. 
. summarize DonationAmount if RaceEthnicity =="Black"&DonationAmount<=400

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        135     21.7037    60.72068          0        300

. summarize DonationAmount if RaceEthnicity =="Hispanic"&DonationAmount<=400

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        244    21.57787    57.19498          0        300

. summarize DonationAmount if RaceEthnicity =="White, Not Hispanic"&DonationAmount<=400

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        975    34.81436    73.89894          0        400

. summarize DonationAmount if Party=="DEM"&DonationAmount<=400

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        581    37.56282    75.49112          0        400

. summarize DonationAmount if Party=="REP"&DonationAmount<=400

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        526    31.52091    73.60964          0        400

. 
. summarize DonationAmount if RaceEthnicity =="Black"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        148    121.4595    400.5405          0       3000

. summarize DonationAmount if RaceEthnicity =="Hispanic"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        260    83.13462    378.5976          0       5000

. summarize DonationAmount if RaceEthnicity =="White, Not Hispanic"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |      1,094    185.1408    667.6156          0      10000

. summarize DonationAmount if Party=="DEM"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        640    149.4063    518.8252          0       6000

. summarize DonationAmount if Party=="REP"

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
DonationAm~t |        596    199.8826    750.2019          0      10000

. restore

. 
. 
. ////////////////////////////////////////////////////////////////////////////////
> /////////////                   Appendix B1 Results                /////////////
> ////////////////////////////////////////////////////////////////////////////////
> 
. 
. //Partisan vs Control//
. //Posttreatment donation propensity difference among previous donors, within 10 weeks//
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      27     .037037     .037037    .1924501   -.0390937    .1131678
       1 |      26    .3846154    .0973009    .4961389    .1842205    .5850102
---------+--------------------------------------------------------------------
Combined |      53    .2075472    .0562398    .4094316    .0946938    .3204005
---------+--------------------------------------------------------------------
    diff |           -.3475783    .1026424               -.5536416   -.1415151
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.3863
H0: diff = 0                                     Degrees of freedom =       51

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0007         Pr(|T| > |t|) = 0.0014          Pr(T > t) = 0.9993

. prtest PostTreatmentDonationbyXmas if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample test of proportions                     0: Number of obs =       27
                                                   1: Number of obs =       26
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |    .037037   .0363447                     -.0341973    .1082713
           1 |   .3846154   .0954113                      .1976126    .5716182
-------------+----------------------------------------------------------------
        diff |  -.3475783   .1020993                     -.5476892   -.1474675
             |  under H0:   .1114332    -3.12   0.002
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -3.1192
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0009         Pr(|Z| > |z|) = 0.0018          Pr(Z > z) = 0.9991

. ranksum PostTreatmentDonationbyXmas if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       27         607         729
           1 |       26         824         702
-------------+---------------------------------
    Combined |       53        1431        1431

Unadjusted variance     3159.00
Adjustment for ties    -1599.75
                     ----------
Adjusted variance       1559.25

H0: ~nbyXmas(Partis~l==0) = ~nbyXmas(Partis~l==1)
         z = -3.090
Prob > |z| = 0.0020
Exact prob = 0.0040

. tab PostTreatmentDonationbyXmas PartisanVSControl if PreviousDonor==1&PARTY!="NPA", chi2

PostTreatm |
entDonatio |   PartisanVSControl
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        26         16 |        42 
         1 |         1         10 |        11 
-----------+----------------------+----------
     Total |        27         26 |        53 

          Pearson chi2(1) =   9.7292   Pr = 0.002

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1&PARTY!="NPA",by(PartisanVSControl)
Fisher-Pitman permutation test for two independent samples


PartisanVS~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       27   .03703704   .19245009
           1 |       26   .38461538   .49613894
-------------+---------------------------------
    combined |       53   .20754717   .40943162


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) >= PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.001885 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) <= PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.999895 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) == PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.00377 (two-tailed)

. ********************************************************************************
. ********************************************************************************
. //Race vs Control//
. //Posttreatment donation propensity difference among previous donors, within 10 weeks//
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      31    .0645161     .044853     .249731    -.027086    .1561182
       1 |      28    .1785714     .073707     .390021    .0273371    .3298058
---------+--------------------------------------------------------------------
Combined |      59    .1186441    .0424605     .326145    .0336502    .2036379
---------+--------------------------------------------------------------------
    diff |           -.1140553    .0844327               -.2831289    .0550183
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.3508
H0: diff = 0                                     Degrees of freedom =       57

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0910         Pr(|T| > |t|) = 0.1821          Pr(T > t) = 0.9090

. prtest PostTreatmentDonationbyXmas if PreviousDonor==1,by(RaceVSControl)

Two-sample test of proportions                     0: Number of obs =       31
                                                   1: Number of obs =       28
------------------------------------------------------------------------------
       Group |       Mean   Std. err.      z    P>|z|     [95% conf. interval]
-------------+----------------------------------------------------------------
           0 |   .0645161   .0441237                     -.0219646    .1509969
           1 |   .1785714   .0723789                      .0367114    .3204314
-------------+----------------------------------------------------------------
        diff |  -.1140553   .0847679                     -.2801974    .0520868
             |  under H0:   .0843072    -1.35   0.176
------------------------------------------------------------------------------
        diff = prop(0) - prop(1)                                  z =  -1.3529
    H0: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = 0.0881         Pr(|Z| > |z|) = 0.1761          Pr(Z > z) = 0.9119

. ranksum PostTreatmentDonationbyXmas if PreviousDonor==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       31       880.5         930
           1 |       28       889.5         840
-------------+---------------------------------
    Combined |       59        1770        1770

Unadjusted variance     4340.00
Adjustment for ties    -2978.14
                     ----------
Adjusted variance       1361.86

H0: ~nbyXmas(RaceVS~l==0) = ~nbyXmas(RaceVS~l==1)
         z = -1.341
Prob > |z| = 0.1798
Exact prob = 0.3433

. tab PostTreatmentDonationbyXmas RaceVSControl if PreviousDonor==1, chi2

PostTreatm |
entDonatio |     RaceVSControl
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        29         23 |        52 
         1 |         2          5 |         7 
-----------+----------------------+----------
     Total |        31         28 |        59 

          Pearson chi2(1) =   1.8302   Pr = 0.176

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1,by(RaceVSControl)
Fisher-Pitman permutation test for two independent samples


RaceVSCont~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       31   .06451613   .24973104
           1 |       28   .17857143   .39002103
-------------+---------------------------------
    combined |       59   .11864407   .32614497


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) >= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.171555 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) <= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.96225 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) == PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.34311 (two-tailed)

. 
. 
. //EthnicMinorities vs White//
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      10           0           0           0           0           0
       1 |       9    .3333333    .1666667          .5   -.0510007    .7176674
---------+--------------------------------------------------------------------
Combined |      19    .1578947     .085947    .3746343   -.0226732    .3384627
---------+--------------------------------------------------------------------
    diff |           -.3333333    .1575963               -.6658325   -.0008342
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.1151
H0: diff = 0                                     Degrees of freedom =       17

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0247         Pr(|T| > |t|) = 0.0495          Pr(T > t) = 0.9753

. ranksum PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       10          85         100
           1 |        9         105          90
-------------+---------------------------------
    Combined |       19         190         190

Unadjusted variance      150.00
Adjustment for ties      -90.00
                     ----------
Adjusted variance         60.00

H0: ~nbyXmas(Partis~l==0) = ~nbyXmas(Partis~l==1)
         z = -1.936
Prob > |z| = 0.0528
Exact prob = 0.1734

. display normal(`r(z)')
.02640376

. tab PostTreatmentDonationbyXmas PartisanVSControl if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA", chi2

PostTreatm |
entDonatio |   PartisanVSControl
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        10          6 |        16 
         1 |         0          3 |         3 
-----------+----------------------+----------
     Total |        10          9 |        19 

          Pearson chi2(1) =   3.9583   Pr = 0.047

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)
Fisher-Pitman permutation test for two independent samples


PartisanVS~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       10           0           0
           1 |        9   .33333333          .5
-------------+---------------------------------
    combined |       19   .15789474   .37463432


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) >= PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.08618 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) <= PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=1 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) == PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.17236 (two-tailed)

. 
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      13           0           0           0           0           0
       1 |       8        .375    .1829813    .5175492   -.0576819    .8076819
---------+--------------------------------------------------------------------
Combined |      21    .1428571    .0782461    .3585686   -.0203613    .3060756
---------+--------------------------------------------------------------------
    diff |               -.375    .1411617               -.6704548   -.0795452
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.6565
H0: diff = 0                                     Degrees of freedom =       19

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0078         Pr(|T| > |t|) = 0.0156          Pr(T > t) = 0.9922

. ranksum PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       13       123.5         143
           1 |        8       107.5          88
-------------+---------------------------------
    Combined |       21         231         231

Unadjusted variance      190.67
Adjustment for ties     -120.47
                     ----------
Adjusted variance         70.20

H0: ~nbyXmas(RaceVS~l==0) = ~nbyXmas(RaceVS~l==1)
         z = -2.327
Prob > |z| = 0.0199
Exact prob = 0.0842

. display normal(`r(z)')
.0099727

. tab PostTreatmentDonationbyXmas RaceVSControl if PreviousDonor==1&EthnicMinorities==1, chi2

PostTreatm |
entDonatio |     RaceVSControl
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        13          5 |        18 
         1 |         0          3 |         3 
-----------+----------------------+----------
     Total |        13          8 |        21 

          Pearson chi2(1) =   5.6875   Pr = 0.017

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)
Fisher-Pitman permutation test for two independent samples


RaceVSCont~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       13           0           0
           1 |        8        .375   .51754917
-------------+---------------------------------
    combined |       21   .14285714   .35856858


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) >= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.04272 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) <= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=1 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) == PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.08544 (two-tailed)

. 
. 
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      17    .0588235    .0588235    .2425356   -.0658768    .1835238
       1 |      17    .4117647    .1230382    .5072997    .1509353    .6725941
---------+--------------------------------------------------------------------
Combined |      34    .2352941    .0738407    .4305615    .0850641    .3855241
---------+--------------------------------------------------------------------
    diff |           -.3529412    .1363767               -.6307315   -.0751508
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.5880
H0: diff = 0                                     Degrees of freedom =       32

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0072         Pr(|T| > |t|) = 0.0144          Pr(T > t) = 0.9928

. ranksum PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       17       246.5       297.5
           1 |       17       348.5       297.5
-------------+---------------------------------
    Combined |       34         595         595

Unadjusted variance      842.92
Adjustment for ties     -387.52
                     ----------
Adjusted variance        455.39

H0: ~nbyXmas(Partis~l==0) = ~nbyXmas(Partis~l==1)
         z = -2.390
Prob > |z| = 0.0169
Exact prob = 0.0391

. display normal(`r(z)')
.00842688

. tab PostTreatmentDonationbyXmas PartisanVSControl if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA", chi2

PostTreatm |
entDonatio |   PartisanVSControl
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        16         10 |        26 
         1 |         1          7 |         8 
-----------+----------------------+----------
     Total |        17         17 |        34 

          Pearson chi2(1) =   5.8846   Pr = 0.015

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)
Fisher-Pitman permutation test for two independent samples


PartisanVS~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       17   .05882353   .24253563
           1 |       17   .41176471   .50729966
-------------+---------------------------------
    combined |       34   .23529412   .43056155


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) >= PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.0194 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) <= PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.99873 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(PartisanVSControl==0) == PostTreatmentDonationbyXmas(PartisanVSControl==1) :  p=.0388 (two-tailed)

. 
. ttest PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |      18    .1111111    .0762216    .3233808   -.0497024    .2719246
       1 |      20          .1    .0688247    .3077935   -.0440518    .2440518
---------+--------------------------------------------------------------------
Combined |      38    .1052632    .0504528    .3110117    .0030361    .2074902
---------+--------------------------------------------------------------------
    diff |            .0111111    .1024226               -.1966116    .2188339
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.1085
H0: diff = 0                                     Degrees of freedom =       36

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5429         Pr(|T| > |t|) = 0.9142          Pr(T > t) = 0.4571

. ranksum PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       18         353         351
           1 |       20         388         390
-------------+---------------------------------
    Combined |       38         741         741

Unadjusted variance     1170.00
Adjustment for ties     -839.19
                     ----------
Adjusted variance        330.81

H0: ~nbyXmas(RaceVS~l==0) = ~nbyXmas(RaceVS~l==1)
         z =  0.110
Prob > |z| = 0.9124
Exact prob = 1.0000

. display normal(`r(z)')
.54378

. tab PostTreatmentDonationbyXmas RaceVSControl if PreviousDonor==1&EthnicMinorities==0, chi2

PostTreatm |
entDonatio |     RaceVSControl
   nbyXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        16         18 |        34 
         1 |         2          2 |         4 
-----------+----------------------+----------
     Total |        18         20 |        38 

          Pearson chi2(1) =   0.0124   Pr = 0.911

. permtest2 PostTreatmentDonationbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)
Fisher-Pitman permutation test for two independent samples


RaceVSCont~l |      obs        mean    std.dev.
-------------+---------------------------------
           0 |       18   .11111111   .32338083
           1 |       20          .1   .30779351
-------------+---------------------------------
    combined |       38   .10526316   .31101175


mode of operation:  Montecarlo simulation (200000 runs)

Progress:  |........................................|

Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) >= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.736985 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) <= PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=.65703 (one-tailed)
Test of hypothesis Ho: PostTreatmentDonationbyXmas(RaceVSControl==0) == PostTreatmentDonationbyXmas(RaceVSControl==1) :  p=1 (two-tailed)

. 
. 
. //Posttreatment donation frequency difference among previous minorities donors, within 10 weeks//
. tab PostTreatmentFreqbyXmas RaceVSControl if PreviousDonor==1&EthnicMinorities==1

PostTreatm |
entFreqbyX |     RaceVSControl
       mas |         0          1 |     Total
-----------+----------------------+----------
         0 |        13          5 |        18 
         1 |         0          2 |         2 
         5 |         0          1 |         1 
-----------+----------------------+----------
     Total |        13          8 |        21 

. ranksum PostTreatmentFreqbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       13       123.5         143
           1 |        8       107.5          88
-------------+---------------------------------
    Combined |       21         231         231

Unadjusted variance      190.67
Adjustment for ties     -120.10
                     ----------
Adjusted variance         70.57

H0: ~qbyXmas(RaceVS~l==0) = ~qbyXmas(RaceVS~l==1)
         z = -2.321
Prob > |z| = 0.0203
Exact prob = 0.0842

. median PostTreatmentFreqbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        13          5 |        18 
       yes |         0          3 |         3 
-----------+----------------------+----------
     Total |        13          8 |        21 

          Pearson chi2(1) =   5.6875   Pr = 0.017

   Continuity corrected:
          Pearson chi2(1) =   3.0373   Pr = 0.081

. 
. tab PostTreatmentFreqbyXmas PartisanVSControl if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA"

PostTreatm |
entFreqbyX |   PartisanVSControl
       mas |         0          1 |     Total
-----------+----------------------+----------
         0 |        10          6 |        16 
         1 |         0          2 |         2 
         3 |         0          1 |         1 
-----------+----------------------+----------
     Total |        10          9 |        19 

. ranksum PostTreatmentFreqbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       10          85         100
           1 |        9         105          90
-------------+---------------------------------
    Combined |       19         190         190

Unadjusted variance      150.00
Adjustment for ties      -89.61
                     ----------
Adjusted variance         60.39

H0: ~qbyXmas(Partis~l==0) = ~qbyXmas(Partis~l==1)
         z = -1.930
Prob > |z| = 0.0536
Exact prob = 0.1734

. median PostTreatmentFreqbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        10          6 |        16 
       yes |         0          3 |         3 
-----------+----------------------+----------
     Total |        10          9 |        19 

          Pearson chi2(1) =   3.9583   Pr = 0.047

   Continuity corrected:
          Pearson chi2(1) =   1.8483   Pr = 0.174

. 
. //Posttreatment donation amount difference among previous minorities donors, within 10 weeks//
. tab PostTreatmentAmountbyXmas RaceVSControl if PreviousDonor==1&EthnicMinorities==1

PostTreatm |
entAmountb |     RaceVSControl
     yXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        13          5 |        18 
         8 |         0          1 |         1 
        30 |         0          1 |         1 
        32 |         0          1 |         1 
-----------+----------------------+----------
     Total |        13          8 |        21 

. ranksum PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       13       123.5         143
           1 |        8       107.5          88
-------------+---------------------------------
    Combined |       21         231         231

Unadjusted variance      190.67
Adjustment for ties     -119.97
                     ----------
Adjusted variance         70.70

H0: ~tbyXmas(RaceVS~l==0) = ~tbyXmas(RaceVS~l==1)
         z = -2.319
Prob > |z| = 0.0204
Exact prob = 0.0842

. median PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==1,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        13          5 |        18 
       yes |         0          3 |         3 
-----------+----------------------+----------
     Total |        13          8 |        21 

          Pearson chi2(1) =   5.6875   Pr = 0.017

   Continuity corrected:
          Pearson chi2(1) =   3.0373   Pr = 0.081

. 
. tab PostTreatmentAmountbyXmas PartisanVSControl if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA"

PostTreatm |
entAmountb |   PartisanVSControl
     yXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        10          6 |        16 
        15 |         0          1 |         1 
        25 |         0          1 |         1 
        30 |         0          1 |         1 
-----------+----------------------+----------
     Total |        10          9 |        19 

. ranksum PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       10          85         100
           1 |        9         105          90
-------------+---------------------------------
    Combined |       19         190         190

Unadjusted variance      150.00
Adjustment for ties      -89.47
                     ----------
Adjusted variance         60.53

H0: ~tbyXmas(Partis~l==0) = ~tbyXmas(Partis~l==1)
         z = -1.928
Prob > |z| = 0.0538
Exact prob = 0.1734

. median PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==1&PARTY!="NPA",by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        10          6 |        16 
       yes |         0          3 |         3 
-----------+----------------------+----------
     Total |        10          9 |        19 

          Pearson chi2(1) =   3.9583   Pr = 0.047

   Continuity corrected:
          Pearson chi2(1) =   1.8483   Pr = 0.174

. 
. 
. //Posttreatment donation frequency difference among previous white donors, within 10 weeks//
. tab PostTreatmentFreqbyXmas RaceVSControl if PreviousDonor==1&EthnicMinorities==0

PostTreatm |
entFreqbyX |     RaceVSControl
       mas |         0          1 |     Total
-----------+----------------------+----------
         0 |        16         18 |        34 
         1 |         2          1 |         3 
         2 |         0          1 |         1 
-----------+----------------------+----------
     Total |        18         20 |        38 

. ranksum PostTreatmentFreqbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       18         352         351
           1 |       20         389         390
-------------+---------------------------------
    Combined |       38         741         741

Unadjusted variance     1170.00
Adjustment for ties     -838.42
                     ----------
Adjusted variance        331.58

H0: ~qbyXmas(RaceVS~l==0) = ~qbyXmas(RaceVS~l==1)
         z =  0.055
Prob > |z| = 0.9562
Exact prob = 1.0000

. median PostTreatmentFreqbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        16         18 |        34 
       yes |         2          2 |         4 
-----------+----------------------+----------
     Total |        18         20 |        38 

          Pearson chi2(1) =   0.0124   Pr = 0.911

   Continuity corrected:
          Pearson chi2(1) =   0.1746   Pr = 0.676

. 
. tab PostTreatmentFreqbyW1Nov PartisanVSControl if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA"

PostTreatm |
entFreqbyW |   PartisanVSControl
      1Nov |         0          1 |     Total
-----------+----------------------+----------
         0 |        16         11 |        27 
         1 |         1          4 |         5 
         2 |         0          2 |         2 
-----------+----------------------+----------
     Total |        17         17 |        34 

. ranksum PostTreatmentFreqbyW1Nov if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       17         254       297.5
           1 |       17         341       297.5
-------------+---------------------------------
    Combined |       34         595         595

Unadjusted variance      842.92
Adjustment for ties     -424.61
                     ----------
Adjusted variance        418.30

H0: PostTr..(Partis~l==0) = PostTr..(Partis~l==1)
         z = -2.127
Prob > |z| = 0.0334
Exact prob = 0.0631

. median PostTreatmentFreqbyW1Nov if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        16         11 |        27 
       yes |         1          6 |         7 
-----------+----------------------+----------
     Total |        17         17 |        34 

          Pearson chi2(1) =   4.4974   Pr = 0.034

   Continuity corrected:
          Pearson chi2(1) =   2.8783   Pr = 0.090

. 
. //Posttreatment donation amount difference among previous white donors, within 10 weeks//
. tab PostTreatmentAmountbyXmas RaceVSControl if PreviousDonor==1&EthnicMinorities==0

PostTreatm |
entAmountb |     RaceVSControl
     yXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        16         18 |        34 
        11 |         0          1 |         1 
        20 |         0          1 |         1 
        25 |         1          0 |         1 
       100 |         1          0 |         1 
-----------+----------------------+----------
     Total |        18         20 |        38 

. ranksum PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

RaceVSCont~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       18         355         351
           1 |       20         386         390
-------------+---------------------------------
    Combined |       38         741         741

Unadjusted variance     1170.00
Adjustment for ties     -837.91
                     ----------
Adjusted variance        332.09

H0: ~tbyXmas(RaceVS~l==0) = ~tbyXmas(RaceVS~l==1)
         z =  0.219
Prob > |z| = 0.8263
Exact prob = 0.6564

. median PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==0,by(RaceVSControl)

Median test

   Greater |
  than the |     RaceVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        16         18 |        34 
       yes |         2          2 |         4 
-----------+----------------------+----------
     Total |        18         20 |        38 

          Pearson chi2(1) =   0.0124   Pr = 0.911

   Continuity corrected:
          Pearson chi2(1) =   0.1746   Pr = 0.676

. 
. tab PostTreatmentAmountbyXmas PartisanVSControl if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA"

PostTreatm |
entAmountb |   PartisanVSControl
     yXmas |         0          1 |     Total
-----------+----------------------+----------
         0 |        16         10 |        26 
        20 |         0          1 |         1 
     24.99 |         0          1 |         1 
        25 |         1          1 |         2 
        30 |         0          1 |         1 
        50 |         0          1 |         1 
        70 |         0          1 |         1 
       250 |         0          1 |         1 
-----------+----------------------+----------
     Total |        17         17 |        34 

. ranksum PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Two-sample Wilcoxon rank-sum (Mann–Whitney) test

PartisanVS~l |      Obs    Rank sum    Expected
-------------+---------------------------------
           0 |       17       245.5       297.5
           1 |       17       349.5       297.5
-------------+---------------------------------
    Combined |       34         595         595

Unadjusted variance      842.92
Adjustment for ties     -376.83
                     ----------
Adjusted variance        466.08

H0: ~tbyXmas(Partis~l==0) = ~tbyXmas(Partis~l==1)
         z = -2.409
Prob > |z| = 0.0160
Exact prob = 0.0209

. median PostTreatmentAmountbyXmas if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",by(PartisanVSControl)

Median test

   Greater |
  than the |   PartisanVSControl
    median |         0          1 |     Total
-----------+----------------------+----------
        no |        16         10 |        26 
       yes |         1          7 |         8 
-----------+----------------------+----------
     Total |        17         17 |        34 

          Pearson chi2(1) =   5.8846   Pr = 0.015

   Continuity corrected:
          Pearson chi2(1) =   4.0865   Pr = 0.043

. 
. 
. ////////////////////////////////////////////////////////////////////////////////
> /////////////                   Appendix B2 Results                /////////////
> ////////////////////////////////////////////////////////////////////////////////
> preserve

. gen PartisanIdentity=0

. replace PartisanIdentity=1 if Treatment=="Partisan"
(728 real changes made)

. gen RacialIdentity=0

. replace RacialIdentity=1 if Treatment=="Race"
(968 real changes made)

. 
. //Column 1
. reg PostTreatmentDonationbyW1Nov  PartisanIdentity RacialIdentity Women AgeGroupYong AgeGroupMiddle if PreviousDonor==1&PARTY!="NPA",robust

Linear regression                               Number of obs     =         74
                                                F(5, 68)          =       2.63
                                                Prob > F          =     0.0309
                                                R-squared         =     0.1719
                                                Root MSE          =     .36126

----------------------------------------------------------------------------------
                 |               Robust
PostTreatmentD~v | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-----------------+----------------------------------------------------------------
PartisanIdentity |   .3007808   .0961222     3.13   0.003      .108972    .4925896
  RacialIdentity |   .1373423   .0918188     1.50   0.139    -.0458794    .3205639
           Women |  -.0921451   .0845191    -1.09   0.279    -.2608003    .0765101
    AgeGroupYong |   .1245881   .1541208     0.81   0.422    -.1829552    .4321314
  AgeGroupMiddle |   .1748637   .0973191     1.80   0.077    -.0193334    .3690609
           _cons |   .0129963    .052943     0.25   0.807    -.0926499    .1186425
----------------------------------------------------------------------------------

. 
. //Column 2
. reg PostTreatmentDonationbyW1Nov  PartisanIdentity RacialIdentity EthnicMinorities Women AgeGroupYong AgeGroupMiddle if PreviousDonor==1&PARTY!="NPA",robust

Linear regression                               Number of obs     =         74
                                                F(6, 67)          =       2.25
                                                Prob > F          =     0.0484
                                                R-squared         =     0.1759
                                                Root MSE          =     .36306

----------------------------------------------------------------------------------
                 |               Robust
PostTreatmentD~v | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
-----------------+----------------------------------------------------------------
PartisanIdentity |   .2996034   .0965611     3.10   0.003     .1068666    .4923403
  RacialIdentity |   .1326765   .0942247     1.41   0.164    -.0553969    .3207499
EthnicMinorities |  -.0532314   .0899549    -0.59   0.556    -.2327821    .1263193
           Women |  -.0987584   .0866369    -1.14   0.258    -.2716865    .0741696
    AgeGroupYong |    .138179   .1629422     0.85   0.399     -.187055     .463413
  AgeGroupMiddle |   .1829774   .0953547     1.92   0.059    -.0073514    .3733063
           _cons |   .0312754    .069562     0.45   0.654    -.1075709    .1701217
----------------------------------------------------------------------------------

. 
. //Column 3
. reg PostTreatmentDonationbyW1Nov  PartisanIdentity RacialIdentity EthnicMinorities PartisanIdentity##EthnicMinorities  RacialIdentity##EthnicMinorities Women A
> geGroupYong AgeGroupMiddle if PreviousDonor==1&PARTY!="NPA",robust
note: 1.PartisanIdentity omitted because of collinearity.
note: 1.EthnicMinorities omitted because of collinearity.
note: 1.RacialIdentity omitted because of collinearity.

Linear regression                               Number of obs     =         74
                                                F(8, 65)          =       1.95
                                                Prob > F          =     0.0671
                                                R-squared         =     0.1860
                                                Root MSE          =     .36632

---------------------------------------------------------------------------------------------------
                                  |               Robust
     PostTreatmentDonationbyW1Nov | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
----------------------------------+----------------------------------------------------------------
                 PartisanIdentity |   .2700736   .1369191     1.97   0.053    -.0033728      .54352
                   RacialIdentity |   .0720817   .1154743     0.62   0.535    -.1585363    .3026997
                 EthnicMinorities |  -.1373291   .1169217    -1.17   0.244    -.3708378    .0961795
               1.PartisanIdentity |          0  (omitted)
               1.EthnicMinorities |          0  (omitted)
                                  |
PartisanIdentity#EthnicMinorities |
                             1 1  |   .0790845   .2353384     0.34   0.738    -.3909187    .5490877
                                  |
                 1.RacialIdentity |          0  (omitted)
                                  |
  RacialIdentity#EthnicMinorities |
                             1 1  |    .218421   .2243251     0.97   0.334    -.2295871     .666429
                                  |
                            Women |  -.0982369   .0849725    -1.16   0.252    -.2679387     .071465
                     AgeGroupYong |   .1552562   .1788129     0.87   0.388    -.2018578    .5123701
                   AgeGroupMiddle |   .1981713   .0999408     1.98   0.052    -.0014241    .3977668
                            _cons |     .05507   .0672084     0.82   0.416    -.0791544    .1892944
---------------------------------------------------------------------------------------------------

. restore

. 
. ////////////////////////////////////////////////////////////////////////////////
> ///   Table A5: Donation by Treatment and Time Window(Linear Prob Models)    ///
> ////////////////////////////////////////////////////////////////////////////////
> ////////////////////////////////////////////////////////////////////////////////
> preserve

. //Column 1
. reg PostTreatmentDonationbyW1Nov  PartisanVSControl Women AgeGroupYong AgeGroupMiddle if PreviousDonor==1&PARTY!="NPA"&EthnicMinorities==1,robust

Linear regression                               Number of obs     =         19
                                                F(4, 14)          =       1.35
                                                Prob > F          =     0.3008
                                                R-squared         =     0.4310
                                                Root MSE          =     .32042

-----------------------------------------------------------------------------------
                  |               Robust
PostTreatmentDo~v | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
------------------+----------------------------------------------------------------
PartisanVSControl |   .2724285   .1530123     1.78   0.097    -.0557502    .6006072
            Women |   .1498521   .1795029     0.83   0.418    -.2351432    .5348475
     AgeGroupYong |   .0860992   .1556455     0.55   0.589    -.2477271    .4199256
   AgeGroupMiddle |    .347026   .1691681     2.05   0.059    -.0158036    .7098555
            _cons |  -.1984883   .1207615    -1.64   0.123    -.4574959    .0605193
-----------------------------------------------------------------------------------

. outreg2 using TableA5.doc, replace ctitle(1) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) 
> addtext(Composition, Minorities, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
TableA5.doc
dir : seeout

. //Column 2
. reg PostTreatmentDonationbyW1Nov  PartisanVSControl  Women AgeGroupYong  AgeGroupMiddle  if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",robust

Linear regression                               Number of obs     =         34
                                                F(4, 29)          =       2.03
                                                Prob > F          =     0.1159
                                                R-squared         =     0.2288
                                                Root MSE          =     .38447

-----------------------------------------------------------------------------------
                  |               Robust
PostTreatmentDo~v | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
------------------+----------------------------------------------------------------
PartisanVSControl |   .2743695   .1509555     1.82   0.079    -.0343692    .5831081
            Women |   -.170075   .1160307    -1.47   0.153    -.4073843    .0672344
     AgeGroupYong |   .0828221    .344122     0.24   0.811    -.6209864    .7866305
   AgeGroupMiddle |   .2338957   .1605203     1.46   0.156    -.0944052    .5621966
            _cons |   .0889571   .0835605     1.06   0.296    -.0819434    .2598575
-----------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(2) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, White, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. //Column 3
. reg PostTreatmentDonationbyW1Nov  RaceVSControl  Women AgeGroupYong  AgeGroupMiddle  if PreviousDonor==1&EthnicMinorities==1,robust

Linear regression                               Number of obs     =         21
                                                F(4, 16)          =       0.93
                                                Prob > F          =     0.4715
                                                R-squared         =     0.3809
                                                Root MSE          =     .26461

--------------------------------------------------------------------------------
               |               Robust
PostT~nbyW1Nov | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
---------------+----------------------------------------------------------------
 RaceVSControl |   .3011494   .1616843     1.86   0.081    -.0416059    .6439047
         Women |  -.1019157   .0923024    -1.10   0.286     -.297588    .0937566
  AgeGroupYong |   .2168582   .1664131     1.30   0.211    -.1359218    .5696383
AgeGroupMiddle |   .2597701   .1725692     1.51   0.152    -.1060603    .6256005
         _cons |  -.0996169   .0847725    -1.18   0.257    -.2793265    .0800928
--------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(2) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, Minorities, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. //Column 4
. reg PostTreatmentDonationbyW1Nov  RaceVSControl  Women AgeGroupYong  AgeGroupMiddle  if PreviousDonor==1&EthnicMinorities==0,robust

Linear regression                               Number of obs     =         38
                                                F(4, 33)          =       1.09
                                                Prob > F          =     0.3789
                                                R-squared         =     0.1057
                                                Root MSE          =     .31142

--------------------------------------------------------------------------------
               |               Robust
PostT~nbyW1Nov | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
---------------+----------------------------------------------------------------
 RaceVSControl |  -.0254095   .1158088    -0.22   0.828    -.2610244    .2102054
         Women |    .171633   .1326585     1.29   0.205    -.0982628    .4415288
  AgeGroupYong |   .1361883   .2076428     0.66   0.516    -.2862641    .5586407
AgeGroupMiddle |  -.1872869   .1009976    -1.85   0.073     -.392768    .0181943
         _cons |   .0498127   .0610766     0.82   0.421    -.0744486     .174074
--------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(2) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, White, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. //Column 5
. reg PostTreatmentDonationbyXmas  PartisanVSControl Women AgeGroupYong  AgeGroupYong AgeGroupMiddle if PreviousDonor==1&PARTY!="NPA"&EthnicMinorities==1,robust
note: AgeGroupYong omitted because of collinearity.

Linear regression                               Number of obs     =         19
                                                F(4, 14)          =       1.35
                                                Prob > F          =     0.3008
                                                R-squared         =     0.4310
                                                Root MSE          =     .32042

-----------------------------------------------------------------------------------
                  |               Robust
PostTreatmentDo~s | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
------------------+----------------------------------------------------------------
PartisanVSControl |   .2724285   .1530123     1.78   0.097    -.0557502    .6006072
            Women |   .1498521   .1795029     0.83   0.418    -.2351432    .5348475
     AgeGroupYong |   .0860992   .1556455     0.55   0.589    -.2477271    .4199256
     AgeGroupYong |          0  (omitted)
   AgeGroupMiddle |    .347026   .1691681     2.05   0.059    -.0158036    .7098555
            _cons |  -.1984883   .1207615    -1.64   0.123    -.4574959    .0605193
-----------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(1) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, Minorities, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. //Column 6
. reg PostTreatmentDonationbyXmas  PartisanVSControl  Women AgeGroupYong  AgeGroupMiddle  if PreviousDonor==1&EthnicMinorities==0&PARTY!="NPA",robust

Linear regression                               Number of obs     =         34
                                                F(4, 29)          =       2.37
                                                Prob > F          =     0.0755
                                                R-squared         =     0.2196
                                                Root MSE          =     .40575

-----------------------------------------------------------------------------------
                  |               Robust
PostTreatmentDo~s | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
------------------+----------------------------------------------------------------
PartisanVSControl |   .3479891   .1629488     2.14   0.041     .0147213    .6812569
            Women |  -.0964554   .1281511    -0.75   0.458    -.3585537     .165643
     AgeGroupYong |   -.006135   .3613064    -0.02   0.987    -.7450895    .7328195
   AgeGroupMiddle |   .1817485    .159388     1.14   0.263    -.1442365    .5077335
            _cons |   .0674847   .0798306     0.85   0.405    -.0957873    .2307567
-----------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(2) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, White, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. //Column 7
. reg PostTreatmentDonationbyXmas  RaceVSControl Women AgeGroupYong  AgeGroupMiddle  if PreviousDonor==1&EthnicMinorities==1,robust

Linear regression                               Number of obs     =         21
                                                F(4, 16)          =       1.43
                                                Prob > F          =     0.2703
                                                R-squared         =     0.3402
                                                Root MSE          =     .32563

--------------------------------------------------------------------------------
               |               Robust
PostTr~nbyXmas | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
---------------+----------------------------------------------------------------
 RaceVSControl |   .4275862   .1924582     2.22   0.041     .0195931    .8355793
         Women |   .0206897   .1481099     0.14   0.891    -.2932893    .3346686
  AgeGroupYong |    .137931   .1800721     0.77   0.455    -.2438049    .5196669
AgeGroupMiddle |   .2344828   .1577024     1.49   0.156    -.0998315     .568797
         _cons |  -.1241379   .0918807    -1.35   0.195    -.3189163    .0706404
--------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(2) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, Minorities, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. //Column 8
. reg PostTreatmentDonationbyXmas  RaceVSControl  Women AgeGroupYong  AgeGroupMiddle  if PreviousDonor==1&EthnicMinorities==0,robust

Linear regression                               Number of obs     =         38
                                                F(4, 33)          =       1.09
                                                Prob > F          =     0.3789
                                                R-squared         =     0.1057
                                                Root MSE          =     .31142

--------------------------------------------------------------------------------
               |               Robust
PostTr~nbyXmas | Coefficient  std. err.      t    P>|t|     [95% conf. interval]
---------------+----------------------------------------------------------------
 RaceVSControl |  -.0254095   .1158088    -0.22   0.828    -.2610244    .2102054
         Women |    .171633   .1326585     1.29   0.205    -.0982628    .4415288
  AgeGroupYong |   .1361883   .2076428     0.66   0.516    -.2862641    .5586407
AgeGroupMiddle |  -.1872869   .1009976    -1.85   0.073     -.392768    .0181943
         _cons |   .0498127   .0610766     0.82   0.421    -.0744486     .174074
--------------------------------------------------------------------------------

. outreg2 using TableA5.doc, append ctitle(2) dec(3) addstat(Log-Likelihood Full Model, e(ll), Pseudo R2, e(r2_p)) alpha(.02, .10, .20) adec(3) rdec(3) pdec(3) a
> ddtext(Composition, White, Previous Donors, YES, Controls, YES, Weeks, Three) nonotes addnote(one-sided tests, *p<.10; **p<.05; ***p<.01)
check eret list for the existence of e(r2_p)
warning: addnote ignored in appended columns
TableA5.doc
dir : seeout

. restore

. 
. 
. 
. 
. ////////////////////////////////////////////////////////////////////////////////
> /////////////                   Appendix B3 Results                /////////////
> ////////////////////////////////////////////////////////////////////////////////
> preserve

. ///Partisan VS Control at the aggregate level
> clear

. drop _all

. set obs 101
Number of observations (_N) was 0, now 101.

. gen alpha=0.05

. gen zalpha=1.645

. gen beta=mod(_n-1,100)/100

. gen Power=1-beta

. gen zbetaAuto=invttail(9999,beta)
(2 missing values generated)

. gen n1=27

. gen n2=26

. gen s1=.1924501

. gen s2=.4851645

. gen sp=sqrt(((n1-1)*s1^2+(n2-1)*s2^2)/(n1+n2-2))

. gen d=sqrt((2*sp^2*(zalpha+zbetaAuto)^2)/((n1+n2)/2))
(2 missing values generated)

. gen dobs=0.346-0.037

. tw (line Power d if Power>=0.2,name(AggregatePartisan,replace) lcolor(black) lwidth(0.2) xaxis(1 2) yaxis(1 2)), xlabel(,nogrid)/*
> */ylabel(,nogrid) ylabel("",axis(2)) xlabel(0.1 (0.05) 0.4,axis(1)) xlabel("",axis(2)) xtitle("Possible Effect Size") xtitle("",axis(2)) ytitle("",axis(2)) xti
> tle("",axis(2))/* 
> */text(0.55 0.18 "DV=Donation",place(r) size(4) color(gs10))/*
> */text(0.45 0.18 "N=53",place(r) size(4) color(gs10))/*
> */text(0.25 0.18 "1-{&beta}=0.92",place(r) size(4) color(gs10))/*
> */text(0.35 0.18 "{&alpha}=0.05",place(r) size(4) color(gs10)) xline(0.309,lcolor(gs12) lwidth(0.2))  /*  yline(0.923,lcolor(gs12)lwidth(0.2))
> */title("Aggregate Partisan Treatment Effect",color(black))graphregion(color(white)) plotregion(color(white)) 

. 
. clear

. set obs 101
Number of observations (_N) was 0, now 101.

. gen alpha=0.05

. gen zalpha=1.645

. gen beta=mod(_n-1,100)/100

. gen Power=1-beta

. gen zbetaAuto=invttail(9999,beta)
(2 missing values generated)

. gen n1=10

. gen n2=9

. gen s1=0

. gen s2=0.5

. gen sp=sqrt(((n1-1)*s1^2+(n2-1)*s2^2)/(n1+n2-2))

. gen d=sqrt((2*sp^2*(zalpha+zbetaAuto)^2)/((n1+n2)/2))
(2 missing values generated)

. gen dobs=0.333

. tw (line Power d if Power>=0.2,name(MinoritiesPartisan,replace) lcolor(black) lwidth(0.2) xaxis(1 2) yaxis(1 2)), xlabel(,nogrid)/*
> */ylabel(,nogrid) ylabel("",axis(2)) xlabel(0.1 (0.1) 0.6,axis(1)) xlabel("",axis(2)) xtitle("Possible Effect Size") xtitle("",axis(2)) ytitle("",axis(2)) xtit
> le("",axis(2))/* 
> */text(0.6 0.4 "DV=Donation",place(r) size(4) color(gs10))/*
> */text(0.5 0.4 "N=19",place(r) size(4) color(gs10))/*
> */text(0.3 0.4 "1-{&beta}=0.68",place(r) size(4) color(gs10))/*
> */text(0.4 0.4 "{&alpha}=0.05",place(r) size(4) color(gs10)) xline(0.333,lcolor(gs12) lwidth(0.2))  /*  yline(0.68,lcolor(gs12)lwidth(0.2))
> */title("Partisan Treatment Effect on Minorities",color(black))graphregion(color(white)) plotregion(color(white)) 

. 
. clear

. set obs 101
Number of observations (_N) was 0, now 101.

. gen alpha=0.05

. gen zalpha=1.645

. gen beta=mod(_n-1,100)/100

. gen Power=1-beta

. gen zbetaAuto=invttail(9999,beta)
(2 missing values generated)

. gen n1=17

. gen n2=17

. gen s1=.2425356

. gen s2=.4925922

. gen sp=sqrt(((n1-1)*s1^2+(n2-1)*s2^2)/(n1+n2-2))

. gen d=sqrt((2*sp^2*(zalpha+zbetaAuto)^2)/((n1+n2)/2))
(2 missing values generated)

. gen dobs=0.294

. tw (line Power d if Power>=0.2,name(WhitePartisan,replace) lcolor(black) lwidth(0.2) xaxis(1 2) yaxis(1 2)), xlabel(,nogrid)/*
> */ylabel(,nogrid) ylabel("",axis(2)) xlabel(0.1 (0.1) 0.5,axis(1)) xlabel("",axis(2)) xtitle("Possible Effect Size") xtitle("",axis(2)) ytitle("",axis(2)) xtit
> le("",axis(2))/* 
> */text(0.6 0.35 "DV=Donation",place(r) size(4) color(gs10))/*
> */text(0.5 0.35 "N=34",place(r) size(4) color(gs10))/*
> */text(0.3 0.35 "1-{&beta}=0.71",place(r) size(4) color(gs10))/*
> */text(0.4 0.35 "{&alpha}=0.05",place(r) size(4) color(gs10)) xline(0.294,lcolor(gs12) lwidth(0.2))  /*  yline(0.713,lcolor(gs12)lwidth(0.2))
> */title("Partisan Treatment Effect on White",color(black))graphregion(color(white)) plotregion(color(white)) 

. 
. 
. ///Race VS Control for minorities
> clear

. drop _all

. set obs 101
Number of observations (_N) was 0, now 101.

. gen alpha=0.05

. gen zalpha=1.645

. gen beta=mod(_n-1,100)/100

. gen Power=1-beta

. gen zbetaAuto=invttail(9999,beta)
(2 missing values generated)

. gen n1=13

. gen n2=8

. gen s1=.5175492

. gen s2=0

. gen sp=sqrt(((n1-1)*s1^2+(n2-1)*s2^2)/(n1+n2-2))

. gen d=sqrt((2*sp^2*(zalpha+zbetaAuto)^2)/((n1+n2)/2))
(2 missing values generated)

. gen dobs=0.25-0

. tw (line Power d if Power>=0.2,name(RacialMinorities,replace) lcolor(black) lwidth(0.2) xaxis(1 2) yaxis(1 2)), xlabel(,nogrid)/*
> */ylabel(,nogrid) ylabel("",axis(2)) xlabel(0.1 (0.1) 0.7,axis(1)) xlabel("",axis(2)) xtitle("Possible Effect Size") xtitle("",axis(2)) ytitle("",axis(2)) xtit
> le("",axis(2))/* 
> */text(0.65 0.4 "DV=Donation",place(r) size(4) color(gs10))/*
> */text(0.55 0.4 "N=21",place(r) size(4) color(gs10))/*
> */text(0.35 0.4 "1-{&beta}=0.67",place(r) size(4) color(gs10))/*
> */text(0.45 0.4 "{&alpha}=0.05",place(r) size(4) color(gs10)) xline(0.375,lcolor(gs12) lwidth(0.2))  /*  yline(0.673,lcolor(gs12)lwidth(0.2))
> */title("Racial Treatment Effect on Minorities",color(black))graphregion(color(white)) plotregion(color(white)) 

. 
. graph combine AggregatePartisan MinoritiesPartisan WhitePartisan RacialMinorities, name(SimulatedPowerAnalysis,replace) graphregion(color(white)) plotregion(co
> lor(white)) row(2) 

. restore

. 
. log close
      name:  <unnamed>
       log:  E:\ReplicationResults.log
  log type:  text
 closed on:  12 Oct 2023, 14:54:33
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
